Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle Liveness Alerter #254

Merged
merged 4 commits into from
Oct 17, 2024
Merged

Oracle Liveness Alerter #254

merged 4 commits into from
Oct 17, 2024

Conversation

jkbpvsc
Copy link
Member

@jkbpvsc jkbpvsc commented Oct 15, 2024

Send pagerduty alerts on:

  • oracle staleness
  • low account funds

@jkbpvsc jkbpvsc requested a review from losman0s as a code owner October 15, 2024 08:33

check_switchboard_v2_oracles(context, &switchboard_v2_oracles)?;
check_pyth_push_oracles(context, &pyth_push_oracles)?;
check_switchboard_pull_oracles(context, &switchboard_pull_oracles)?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: we don't really care if pull oracles are stale.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now we are cranking all of them, so this is an alert if those fail

@jgur-psyops
Copy link
Contributor

Lgtm

@jkbpvsc jkbpvsc merged commit d61516c into main Oct 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants